home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0003-View initialization-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-02  |  766 b   |  20 lines  |  [TEXT/GEOL]

  1. Item    0563894                         2-Oct-89        12:16
  2.  
  3. From:   D4132                           Farallon, R & D,PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. Sub:    View initialization
  8.  
  9. I have a view that gets created with templates and I want to find out what the
  10. view's global coordinates are when it's initialized.  The trouble is, you can't
  11. just do a Focus(), follow by LocalToGlobal of the view's extent, since Focus()
  12. fails because the fShown flag is still false at initialization time.  I can't
  13. figure out any way around this problem without using a lot of kludgy code
  14. that's likely to come back and bite me.  Is there an easy way to get at the
  15. global coordinates before the view is made visible?
  16.  
  17. Joe Sensendorf
  18. Farallon Computing
  19.  
  20.